<?php
if($_REQUEST['option'] == 'logout')
{
    unset($_SESSION['member']);
    echo "<script>window.location='./?option=login'</script>";
}
?>
<form name="frmLogin" method="POST" action="">
<input type="hidden" name="frame" value="login" />
<table border="0" width="100%" cellpadding="0" cellspacing="0">
    <tr>
        <td colspan="3" height="10"></td>
    </tr>
    <tr>    
        <td align="right" width="40%">Tên đăng nhập</td>
        <td width="5"></td>
        <td><input type="text" name="username" class="textbox"></td>
    </tr>
    <tr>
        <td align="right">Mật khẩu</td>
        <td width="5"></td>
        <td><input type="password" name="password" class="textbox"></td>
    </tr>
    <tr>
        <td colspan="3" height="10"></td>
    </tr>
    <tr>
        <td align="right"></td>
        <td width="5"></td>
        <td><input class="buttonorange" onmouseover="this.className='buttonblue'" style="WIDTH: 89px; HEIGHT: 22px" onmouseout="this.className='buttonorange'" type="submit" value="Đăng nhập" name="btnLogin" onclick="return btnLogin_onclick()" /></td>
    </tr>
</table>
</form>